package io;

import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;

public class FileWriterTest {
    public static void main(String[] args) {
        try {
            Writer w=new FileWriter("E:\\Temp\\java68\\1.txt");
            w.write(21016);
            w.write("李金泽分享了几个号种子");
            w.write("\r\n");
            w.write("周五上午月考\r\n大家提前准备");
            w.write("\r\n");
            w.write("其实很难");
            w.close();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
